var express = require('express');
var router = express.Router();

/* GET users listing. */
router.post('/', function (req, res, next) {
    res.send({
        code: 200,
        message: 'success',
        data: {
            permissions: ['test:test1:add','test:test1:edit'],
            roles: ['admin'],
            userInfo: {
                userId: 1,
                name: '花东红',
                avatarUrl: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png'
            }
        }
    });

});

module.exports = router;
